package com.ruoyi.demo.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import java.util.Date;

@Data
public class UserPhoto extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户ID")
    private Long userId;

    /** 照片路径 */
    @Excel(name = "照片路径")
    private String photoPath;

    /** 记录图像采集的时间 */
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    /** 逻辑删除标志 */
    private String isDeleted;

    /** 用户名（非数据库字段） */
    @Excel(name = "用户名")
    private String userName;
}
